package com.breadenglish.cms.api.app.domain.exception;

import java.util.List;

/**
 * 参数错误异常
 */
public class ParameterException extends Exception {

    private static final long serialVersionUID = 1L;

    private String code;

    private List<String[]> keys;

    public ParameterException() {
        super();
    }

    public ParameterException(String message, Throwable cause) {
        super(message, cause);
    }

    public ParameterException(String message) {
        super(message);
    }

    public ParameterException(Throwable cause) {
        super(cause);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<String[]> getKeys() {
        return keys;
    }

    public void setKeys(List<String[]> keys) {
        this.keys = keys;
    }
}
